ACFWF\Models\BOGO\Frontend B

Total Complexity 77
Dependencies 8
Dependents 1
Total lines 588
Lines of code 229
Logical lines of code 147
Comment lines 239
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
_add_notice_for_eligible_deals()
A
50 13 24
_run_implementation()
A
48 12 34
display_bogo_discount_summary()
A
48 11 28
_set_matching_cart_item_deals_prices()
A
47 7 38
implement_bogo_deals()
S
56 6 19
display_discounted_price()
S
57 5 14
restrict_cart_to_only_one_bogo_deal()
S
60 4 14
_is_display_notice()
S
69 4 6
_remove_eligible_for_deals_notices()
S
61 3 12
_display_eligible_deal_notices()
S
66 3 8
save_bogo_discounts_to_order()
S
68 3 7
get_instance()
S
70 2 6
run()
S
62 2 10
__construct()
S
70 1 6
_get_bogo_deal_object()
S
80 1 3